/* 保留所有原有样式不变 */
.actor-section {
    padding: 25px 5px;
    background-color: #464444;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    /*margin-bottom: 10px;*/
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #e74c3c;
}

.actor-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.actor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.actor-img-container {
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.actor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.actor-card:hover .actor-img {
    transform: scale(1.1);
}

.actor-info {
    padding: 20px;
    flex-grow: 1;
}

.actor-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    color: #2c3e50;
}



.actor-meta {
    padding: 0 10px;
}

.actor-birthday {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.actor-works {
    text-align: center;
}

.works-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #34495e;
    margin-bottom: 5px;
}

.works-item {
    /*display: block;*/
    font-size: 0.8rem;
    color: #7f8c8d;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    /*display: -webkit-box;*/
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 3px;
}

.actor-pagination {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem;
}


/* 分页居中样式（已实现） */
/* 响应式设计 */
@media (max-width: 992px) {
    .actor-img-container {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .actor-img-container {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .actor-img-container {
        height: 200px;
    }
}